// EJEditView.h : interface of the CEJEditView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_EJEDITVIEW_H__83504783_3426_46D9_9E46_FA7B5104375A__INCLUDED_)
#define AFX_EJEDITVIEW_H__83504783_3426_46D9_9E46_FA7B5104375A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "EJEditCtl.h"

class CEJEditView : public CView
{
protected: // create from serialization only
	CEJEditView();
	DECLARE_DYNCREATE(CEJEditView)

// Attributes
public:
	CEJWorkDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEJEditView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CEJEditView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CEJEditView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	CFont		m_font;
	CEJEditCtl	m_wndEdit;
//	CEdit		m_wndHelp;

	void	Refresh();
	void	OnInputChanged();
	void	OnAnnoChanged(WORD annoIndex);
};

#ifndef _DEBUG  // debug version in EJEditView.cpp
inline CEJWorkDoc* CEJEditView::GetDocument()
   { return (CEJWorkDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EJEDITVIEW_H__83504783_3426_46D9_9E46_FA7B5104375A__INCLUDED_)
